package com.wulijie.iterator;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author cui
 * @Data
 */
public class Client {
    public static void main(String[] args) {
        ComputerCollege college = new ComputerCollege();
        InfoCollege infoCollege = new InfoCollege();
        List<College> colleges = new ArrayList<>();
        colleges.add(college);
        colleges.add(infoCollege);
        Output output = new Output(colleges);

        output.printIt();


    }
}
